package com.qzy.demo.pojo;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class UUserPojo {
    private Long id;//
    private String nickname;//用户昵称
    private String email;//邮箱|登录帐号
    private String pswd;//密码
    private Date createTime;//创建时间
    private Date lastLoginTime;//最后登录时间
    private Long status;//1:有效，0:禁止登录

    private List<String> roleStrlist;
    private List<String> perminsStrlist;

    public String toString (){
        return "UUser[id="+id
                +",nickname="+nickname
                +",email="+email
                +",pswd="+pswd
                +",createTime="+createTime
                +",lastLoginTime="+lastLoginTime
                +",status="+status+"]";
    }
}
